package jsd2302.src.File;

import java.io.File;
import java.util.Scanner;

public class Test04 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        String name=scan.next();
        File dir=new File("./"+name+".txt");
        if(dir.isDirectory()){
            dir.delete();
            System.out.println("文件已删除");
        }else{
            System.out.println("该文件不存在");
        }
    }
}
